Skip to content

Conversation

@bentsherman
Copy link
Member

This PR moves the error formatting logic in TaskProcessor into a separate class TaskErrorFormatter

  • Reduces cognitive load of reading TaskProcessor, one of the largest classes in the Nextflow runtime

  • The new class has static compilation enabled, so better error checking

Over time I hope to decouple more pieces from the TaskProcessor hairball in order to make it easier to work with, especially as we continue to evolve with static types and standalone module execution.

The error formatting is a pretty clean cut, so I'm doing it first

@netlify
Copy link

netlify bot commented Nov 7, 2025

Deploy Preview for nextflow-docs-staging ready!

Name Link
🔨 Latest commit 0d2ee28
🔍 Latest deploy log https://app.netlify.com/projects/nextflow-docs-staging/deploys/691756229118b7000882b091
😎 Deploy Preview https://deploy-preview-6551--nextflow-docs-staging.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

Copy link
Member

@pditommaso pditommaso left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good opportunity to add unit to add unit tests for TaskErrorFormatter public methods

@bentsherman bentsherman merged commit 7b664ce into master Nov 14, 2025
25 checks passed
@bentsherman bentsherman deleted the task-error-formatter branch November 14, 2025 17:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants